﻿using System;

class Program
{
    static void Main()
    {
        int[] test = new int[3];
        for (int i = 0; i < test.Length; i++)
        {
            test[i] = i;
        }
        test[0] = 5;
        Console.WriteLine(test.Sum());
        Console.WriteLine(test.Product());
        Console.WriteLine(test.Min());
        Console.WriteLine(test.Max());
        Console.WriteLine(test.Average());
    }
}